package com.ruoyi.reserve.service.impl;

import com.ruoyi.reserve.domain.OrderSetting;

import java.util.Date;
import java.util.List;

public interface IOrderSettingService {

    /**
     * 查询全部预约设置
     * @param orderSetting
     * @return
     */
    public List<OrderSetting> selectOrderSettingList(OrderSetting orderSetting);

    /**
     * 获取预约上限与已预约人数
     */
    public OrderSetting selectOrderSetting(String orderDate);


    /**
     * 修改预约上限
     */
    public int updateOrderSetting(OrderSetting orderSetting);

    /**
     * 新增预约设置
     */
    public int insertOrderSetting(OrderSetting orderSetting);


}
